#include<iostream>

using namespace std;

int main()
{
	double length = 7, sum = 0, s, x;
	cin >> s >> x;
	while (true)
	{
		if (sum >= s - x) break;	//exit

		sum += length;	//op
		length *= 0.98;//var
	}

	sum + length > s + x ? cout << "n" : cout << "y";

	return 0;
}